<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
				
		<!-- Bootstrap -->
		<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="css/login.css"/>

	</head>
	<body>
		<div class="container">
			<form class="text-center">
				<h1>宿舍管理系统</h1>
				<div class="form-group">
					<input type="text" class="form-control" id="ipt_account" placeholder="账号">
				</div>
				<div class="form-group">
					<input type="password" class="form-control" id="ipt_password" placeholder="密码">
				</div>
				<div class="who">
					<label class="left">
						<input type="radio" id="radio" name="role" value="1"> 系统管理员
					</label>
					<label class="ml left" >
						<input type="radio" id="radio" name="role" value="2"> 宿舍管理员
					</label>
					<label class="ml left" >
						<input type="radio" id="radio" name="role" value="3"> 学生
					</label>
				</div>
				<br>
				<div class="checkbox">
					<label class="left">
						<input type="checkbox" id="cb_rem"> 记住密码
					</label>
				</div>
				<br>
				<div class="form-group" style="margin-top: 10px;">
					<!-- <button type="button" id="btn_login" data-loading-text="正在登录..."  style="width: 20%;color: #fff;background-color: #004ccc; border: none;" class="btn btn-default left">登录</button> -->
					<button type="button" id="btn_login" style="width: 20%;color: #fff;background-color: #004ccc; border: none;" class="btn btn-default left">登录</button>
					<button onclick="toReset()" style="width: 20%;color: #fff;background-color: #004ccc; border: none;" class="btn btn-default left ml" type="button">重置</button>
				</div>
			</form>
		</div>
		<script src="js/jquery-3.5.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/login.js" type="text/javascript" charset="utf-8"></script>
		<!-- <script type="text/javascript">
			$('#btn_login').on('click', function() {
				var $btn = $(this).button('loading');
				setInterval(function() {
					$btn.button('reset');
					location.href = "sys.html";
				}, 2000);
				// business logic...
				// $btn.button('reset')
			})
			$('#btn_forget').on('click', function() {
				bootbox.alert("Hello world!", function() {
					console.log("Alert Callback");
				});
			})
		</script> -->
	</body>
</html>
